package com.genius.mobile_page.common;

/**
 * @author woy
 * @version 1.0
 * @createDate 2021/5/24 11:49
 */
public interface SmallResponse {
    String code = "code";
    String msg = "msg";

    String code_success = "1";
    String code_accessToken_success = "4000";
    String code_accessToken_failed = "4001";
    String code_refreshToken_time_out = "4002";//刷新令牌过期响应

    String code_user_oauth_success = "3000";//用户授权成功
    String msg_user_oauth_success = "用户授权成功";//用户授权成功
    String code_user_oauth_failed = "3001";//用户授权失败
    String msg_user_oauth_failed = "用户授权失败";//用户授权失败
    String code_get_user_failed = "3002";//用获取用户异常

    String msg_getShop_failed = "获取门店信息失败";
    String msg_getGoods_failed = "获取单个商品信息失败";
    String msg_getGoodsByClassId_failed = "根据类别获取单个商品信息失败";
    String msg_getOrder_failed = "获取订单失败";
    String msg_create_order_failed = "创建订单失败";

    String code_finsh_order_success = "2000";//完成订单
    String msg_finsh_order_success = "完成订单成功";//完成订单
    String code_finsh_order_failed = "2001";//完成订单失败
    String msg_finsh_order_failed = "完成订单失败";//识别订单
    String code_pay_query_order_failed = "2002";//识别订单
    String msg_pay_query_order_failed = "查询支付订单未支付成功";//识别订单



    Integer code_cancle_order_success = 2002;//取消订单
    String msg_cancle_order_success = "取消订单成功";//取消订单
    Integer code_cancle_order_failed = 2003;//取消订单
    String msg_cancle_order_failed = "取消订单失败";//取消订单
    String code_create_order_success = "2004";
    String code_create_order_failed = "2005";
    String code_rep_pay_order_failed = "2006";//重复付款失败

    String code_fei_e_print_success = "5000";
    String msg_fei_e_print_success = "飞鹅打印成功";
    String code_fei_e_print_failed = "5001";
    String msg_fei_e_print_failed = "飞鹅打印失败";
    String code_fei_e_sn_success = "5002";
    String msg_fei_e_sn_success = "获取飞鹅打印机SN序列成功";
    String code_fei_e_sn_failed = "5003";
    String msg_fei_e_sn_failed = "获取飞鹅打印机SN序列失败";

}
